/**
 * 我的界面
 */
const Me = () => import('../view/me/index.vue')
/**
 * 我的界面根路径
 */
const MeRoot = () => import('../view/me/root/index.vue')
/**
 * 作品列表
 */
const MeProductionTypeList = () => import('../view/me/zuopin/typeList.vue')
const MeProductionList = () => import('../view/me/zuopin/list.vue')
/**
 * 作品详情
 */
const MeProductionDetail = () => import('../view/me/zuopin/detail.vue')
/**
 * 技能详情
 */
const MeJiNengDetail = () => import('../view/me/jiNeng/detail.vue')

export default {
  path: '/me',
  name: 'Me',
  component: Me,
  redirect: '/me/root',
  children: [
    {
      path: 'root',
      name: 'MeRoot',
      meta: { tabBar: true, tabBarIndex: 1 },
      component: MeRoot
    },
    {
      path: 'production-list/:type',
      name: 'MeProductionList',
      component: MeProductionList
    },
    {
      path: 'production-type-list',
      name: 'MeProductionTypeList',
      component: MeProductionTypeList
    },
    {
      path: 'production-detail',
      name: 'MeProductionDetail',
      component: MeProductionDetail
    },
    {
      path: 'jineng-detail/:type',
      name: 'MeJiNengDetail',
      component: MeJiNengDetail
    }
  ]
}
